package com.woniuxy.propertyjava.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.io.Serializable;

/**
 * (Buymedicines)实体类
 *
 * @author makejava
 * @since 2022-07-06 15:31:39
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
public class BuyMedicines implements Serializable {
    
    private Integer bmid;              //药品id
    private String bmmedicinename;     //药品名称
    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
//    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date bmtime;               //需要药品时间
    private Integer bmnum;             //需要数量
    private String bmname;             //买药人姓名


}

